// 查询map详细
export function listMap(query) {
  return request({
    url: '/map/page',
    method: 'get',
    params: {
      pageNumber: query.pageNumber,
      pageSize: query.pageSize,
      Q_EQ_mapName: query.mapName,
      Q_EQ_mapType: query.mapType,
      Q_EQ_gridNumX: query.gridNumX,
      Q_EQ_gridNumY: query.gridNumY,
      Q_EQ_mapSizeZ: query.mapSizeZ,
      Q_EQ_verticalLength: query.verticalLength,
      Q_EQ_horizontalLength: query.horizontalLength,
      Q_BT_createdTime: query.dataRange,
    },
  })
}

export function getMapInfo(id) {
  return request({
    url: `/map/info?mapId=${id}`,
    method: 'get',
  })
}
